import request from '@/utils/request'


export function createSysFinance(data) {
  return request({
    url: '/api/SysFinance/save',
    method: 'post',
    data
  })
}

export function delSysFinance(id) {
  return request({
    url: '/api/SysFinance/del/'+id,
    method: 'post'
  })
}


export function batchDel(data) {
  return request({
    url: '/api/SysFinance/batch/del',
    method: 'post',
    data
  })
}

export function editSysFinance(data) {
  return request({
    url: '/api/SysFinance/update',
    method: 'post',
    data
  })
}



export function getInfo(id) {
  return request({
    url: '/api/SysFinance/get/'+id,
    method: 'get',
    params: { id }
  })
}


export function getPageSysFinance(query) {
  return request({
    url: '/api/SysFinance/getPage',
    method: 'post',
    data: query
  })
}

export function getListSysFinance(query) {
  return request({
    url: '/api/SysFinance/getList',
    method: 'post',
    data: query
  })
}




